package net.zoneland.knowledge.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * .
 *
 * @author: bcc
 *     2022/6/20
 */
@Configuration
@ConfigurationProperties(prefix = "search")
public class SearchStrategyConfig {

    /**
     * 是否闲聊
     */
    private boolean chat;
    
    /**
     * 不分词查询.
     */
    private boolean fixWord;
    /**
     * 不分词查询.
     */
    private boolean fixWordStop;
    
    /**
     * 表情问题
     */
    private boolean emoji;

    /**
     * 特殊引导页
     */
    private boolean navigatePageWords;

    /**
     * .
     *
     * @return chat
     */
    public boolean isChat() {

        return chat;
    }

    /**
     * .
     *
     * @param chat to set
     */
    public void setChat(final boolean chat) {

        this.chat = chat;
    }

    /**
     * .
     *
     * @return fixWord
     */
    public boolean isFixWord() {

        return fixWord;
    }

    /**
     * .
     *
     * @param fixWord to set
     */
    public void setFixWord(final boolean fixWord) {

        this.fixWord = fixWord;
    }

    /**
     * .
     *
     * @return emoji
     */
    public boolean isEmoji() {

        return emoji;
    }

    /**
     * .
     *
     * @param emoji to set
     */
    public void setEmoji(final boolean emoji) {

        this.emoji = emoji;
    }

    /**
     * .
     *
     * @return navigatePageWords
     */
    public boolean isNavigatePageWords() {

        return navigatePageWords;
    }

    /**
     * .
     *
     * @param navigatePageWords to set
     */
    public void setNavigatePageWords(final boolean navigatePageWords) {

        this.navigatePageWords = navigatePageWords;
    }

    /**
     * .
     *
     * @return fixWordStop
     */
    public boolean isFixWordStop() {

        return fixWordStop;
    }

    /**
     * .
     *
     * @param fixWordStop to set
     */
    public void setFixWordStop(final boolean fixWordStop) {

        this.fixWordStop = fixWordStop;
    }

}
